package cn.com.pajx.pajx_smart_platform;

import android.app.Application;
import android.content.Context;

import cn.com.pajx.pajx_smart_platform.exception.CrashHandler;


/**
 * Created by ruancw on 2023/04/03.
 */

public class BaseApp extends Application {
    private static BaseApp instance;

    @Override
    public void onCreate() {
        super.onCreate();
        instance = this;
        CrashHandler.getInstance().init(this);
    }

    public static BaseApp getInstance() {
        return instance;
    }

    @Override
    protected void attachBaseContext(Context base) {
        super.attachBaseContext(base);
//        MultiDex.install(base);
    }

}
